<?php
/* 
 * ebiz front
 * 
 * FeaturePage Model
 * 
 * @author allen
 * 
 */
require_once '../app/core/models/BaseDao.php';
require_once '../app/core/db/DBUtil.class.php';

class FeaturePageDao extends BaseDao 
{
	
    private $tableName = "feature_pages"; 	
    
    public function __construct($dbUtil){ 
        parent::__construct($dbUtil);
    }
    
    public function getByUrl($param = array()){  
    	$sql = "select * from $this->tableName where lower(url) = ? and is_delete = 0";
        return $this->dbUtil->SelectData($sql, $param);
    }
    
    
}



